package cn.rknn.iot.entity.rbac;

/**
 * 菜单,权限表
 */
public class Permission {

    private Long id;
    private String name;
    private Long parentId;
    /**
     * 0: 菜单
     * 1: 按钮
     * 2: 不生成路由
     */
    private int type;
    private String url;
    private String path;
    private String component;
    private int sort;
    private String icon;
    private int hidden;

    /**
     * 乐观锁版本号
     */
    private Long  version;
}
